package com.jic.member.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.member.entity.MememberLegalLogisticsIncrement;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 会员等级管理-权益规则-物流权益递增表
 * @author : 
 * @email : 
 * @since : 2020-04-02 07:44:08
 * @version : v1.0.0
 */
@Mapper
public interface  MememberLegalLogisticsIncrementMapper {

    long insert(MememberLegalLogisticsIncrement mememberLegalLogisticsIncrement);

    long delete(Long id);

    long update(MememberLegalLogisticsIncrement mememberLegalLogisticsIncrement);

    MememberLegalLogisticsIncrement queryByPrimaryKey(Long id);

    List<MememberLegalLogisticsIncrement> query(MememberLegalLogisticsIncrement mememberLegalLogisticsIncrement);

    List<MememberLegalLogisticsIncrement> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("mememberLegalLogisticsIncrement") MememberLegalLogisticsIncrement mememberLegalLogisticsIncrement);

    long queryPageCount(MememberLegalLogisticsIncrement mememberLegalLogisticsIncrement);

    long deleteByRuleLogisticsId(@Param("ruleLogisticsId") Long ruleLogisticsId);

}